package com.zdxlz.fcmp.common.core.constant;

/**
 * @className RedisKeyConstants
 * @author: aman
 * @date 2025/2/5 17:56
 * @description 
 */

public interface RedisKeyConstants {

    String USER_AUTH_VERSION = "user:%s:version";   // %s 用户信息

    /// 用户登录token
    String AUTH_REFRESH_TOKEN = "auth:refresh:%s";   // %s 为登录的refresh token签名值
    String AUTH_ACCESS_TOKEN = "auth:access:%s:%s:version";   // %s userid;%s 为access token签名值
    // 用户权限相关
    String USER_PERMISSIONS = "user:permissions:%s";
}
